package com.platform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.Api;

import java.util.List;

@Api(tags = "作用：保存系统所有的问卷中的问题的数据，实现调查问卷的问题管理。")
public class SurveyQuestionVo extends BaseEntity{
    private String question; //问题名称
    private String anserType; //对应问题选项类型(1:单选 2::多选)
    private long surveyId; //对应的调查问卷ID

    private List<SurveyAnswersVo> surveyAnswersVo;//每个问题都有对应的答案 但是存在多选问题 一个问题就会有多个答案

    private List<SurveySelectVo> surveySelectVos;

    public List<SurveySelectVo> getSurveySelectVos() {
        return surveySelectVos;
    }

    public void setSurveySelectVos(List<SurveySelectVo> surveySelectVos) {
        this.surveySelectVos = surveySelectVos;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getAnserType() {
        return anserType;
    }

    public void setAnserType(String anserType) {
        this.anserType = anserType;
    }

    public long getSurveyId() {
        return surveyId;
    }

    public void setSurveyId(long surveyId) {
        this.surveyId = surveyId;
    }

    public List<SurveyAnswersVo> getSurveyAnswersVo() {
        return surveyAnswersVo;
    }

    public void setSurveyAnswersVo(List<SurveyAnswersVo> surveyAnswersVo) {
        this.surveyAnswersVo = surveyAnswersVo;
    }
}
